package com.example.servlet;

import org.glassfish.jersey.message.MessageProperties;
import org.glassfish.jersey.servlet.ServletContainer;
import org.glassfish.jersey.servlet.ServletProperties;

import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

/**
 * Created by 01182800 on 2017/2/24.
 */
@WebServlet(urlPatterns = "/webapi/*", initParams = {
        @WebInitParam(name = ServletProperties.PROVIDER_WEB_APP, value = "com.example"),
        @WebInitParam(name = MessageProperties.XML_SECURITY_DISABLE, value = "true")
})
public class AppServlet extends ServletContainer {

}
